package com.jingxi.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.jingxi.common.pojo.EasyUIDataGridResult;
import com.jingxi.common.pojo.JingXiResult;
import com.jingxi.service.ItemParamItemService;
import com.jingxi.service.ItemParamService;

@Controller
public class ItemParamItemController {
	
	@Autowired
	private ItemParamItemService itemParamItemService;
	
	
	@RequestMapping("/rest/item/param/item/query/{cid}")
	@ResponseBody
	public JingXiResult getItemParam(@PathVariable long cid) {
		return itemParamItemService.getItemParamItem(cid);
	}
	
}
